﻿namespace AiFrame.InterfaceLib.MVP
{
    /// <summary>
    /// Represents a button clicked by the user.
    /// </summary>
    public enum AnswerButton
    {
        /// <summary>
        /// Yes button
        /// </summary>
        Yes,

        /// <summary>
        /// No button
        /// </summary>
        No,

        /// <summary>
        /// Cancel button
        /// </summary>
        Cancel
    }

    /// <summary>
    /// Represents a view which is able to show a yes/no question.
    /// </summary>
    public interface IMessageDisplayable
    {
        AnswerButton ShowYesNoQuestion(string caption, string message);
    }
}